package com.bnz.service;

import com.bnz.entity.PageResult;
import com.bnz.entity.Student;
import com.bnz.entity.StudentVo;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    PageResult<Student> findByPage(Integer page, Integer pageSiz);

    PageResult<Student> search(Integer page, Integer pageSize, StudentVo stud);

    void add(Student student);

    void update(Student student);

    void delete(int id);
}
